package com.core.dao;

import java.util.List;

import com.core.exception.DAOException;

public interface DAO<T> {

	public void insert(T o) throws DAOException;

	public T findById(int id) throws DAOException;

	public List<T> findAll() throws DAOException;

	public void delete(int id) throws DAOException;

	public void update(T o) throws DAOException;

}
